<script setup lang="ts">

import FooterBar from "@/components/index/footer/FooterBar.vue";
import EachHole from "@/components/tree/EachHole.vue";



const onClickLeft = () => history.back();
</script>

<template>
    <div>
        <van-nav-bar
                :placeholder=true
                title="树洞"
                left-text="返回"
                left-arrow
                @click-left="onClickLeft"
        />
        <each-hole></each-hole>

        <router-link to="/publishHole">
            <button>+</button>
        </router-link>
        <footer-bar></footer-bar>
    </div>
</template>

<style scoped lang="less">

button {
    height: 30px;
    width: 30px;
    border-radius: 15px;
    background-color: #9e75f5;
    color: white;
    position: fixed;
    right: 10%;
    bottom: 10vh;
    border: none;
}
</style>